<?php
include_once("../../configure/configure.php");		//--> global var
include_once("../configure/admin.config.inc.php");	//--> admin global var
include_once("Smarty.class.php");					//--> out template

include_once("impl/UserGroupImpl.php");				//--> Menu group class

require_once("controlHeader.php");					//--> system control header
require_once("../controlOperate.php");				//-->

$userGroupImpl 	= new UserGroupImpl(DB_TAG_SYSTEM);		//--> Menu group instance

$error_message 		= '';
$strMenuGroupName 	= '';


$arrUserGroupList = $userGroupImpl->lists('', "", $page, DISPLAY_DATA_SIZE);

/*----- out html -----*/
$smarty = new Smarty();					//----- out template
$smarty->template_dir = TEMPLATE_SYS_DIR;
$smarty->compile_dir  = CACHE_SYS_DIR;

$smarty->assign('error_message', $error_message);
$smarty->assign('menuGid', $menuGid);
$smarty->assign('menuid', $menuid);

$smarty->assign('selfFileName', $selfFileName);
$smarty->assign('arrOperateInfo', $arrOperateInfo);

$smarty->assign('arrUserGroupList', $arrUserGroupList);
$smarty->assign('arrMenuList', $arrMenuList);
$smarty->assign('PAGE_BAR', $objUserGroup->pagenav);

$smarty->display('listUserGroup.htm');

?>
